import Layout from '@/pages/public/layout' // 公共部分

const encashment = [{
  path: '/finance/encashment',
  component: Layout,
  children: [{
    path: 'done',
    component: () => import('@/pages/finance/encashment/done.vue'),
    meta: {
      title: '提现列表-已通过',
      permission: 'finance.encashment.done'
    }
  }, {
    path: 'reject',
    component: () => import('@/pages/finance/encashment/reject.vue'),
    meta: {
      title: '提现列表-已驳回',
      permission: 'finance.encashment.reject'
    }
  }, {
    path: 'wait',
    component: () => import('@/pages/finance/encashment/wait.vue'),
    meta: {
      title: '提现列表-待审核',
      permission: 'finance.encashment.wait'
    }
  }, {
    path: ':order_no/fetch',
    component: () => import('@/pages/finance/encashment/edit.vue'),
    meta: {
      title: '审核提现',
      permission: 'finance.encashment.wait'
    }
  }]
}]

export default encashment
